#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT
signals:
    void SigOpenPro(QString);
public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

protected:
    virtual void resizeEvent(QResizeEvent *event)override;
private:
    Ui::MainWindow *ui;
    QWidget * _protree;
    QWidget *_picshow;
private slots:
    void create_pro_slot(bool);
    void SlotOpenPro(bool);
};
#endif // MAINWINDOW_H
